<script setup>
import { reactive } from 'vue';
const data=reactive({
  count:0
})
const setcount=()=>{
  data.count++
}
</script>
<template>
  <div>
    <button @click="setcount">{{ data.count }}</button>
  </div>
</template>